# 在这里写上你的代码 :-)
from microbit import *
while True:
    pin0.write_analog(1023)
    pin1.write_analog(0)
    sleep(500)
    pin0.write_analog(0)
    pin1.write_analog(1023)
    sleep(500)
    pin0.write_analog(1023)
    pin1.write_analog(511)
    sleep(500)
    pin0.write_analog(1023)
    pin1.write_analog(1023)
    sleep(500)
    pin0.write_analog(511)
    pin1.write_analog(1023)
